<div class="select_value">
    <fieldset >
        <legend>
            <b>Цена</b>
        </legend>
        <table border="0">
            <tbody>
                <tr>  
                    <td> от
                    <input  onkeyup="return check_number(this);" onchange="return check_number(this);"    maxlength="8" value="<?php if(isset($minprice)){  if($minprice != ''){ echo $minprice;   }} ?>" size="8" name="minprice">
                    до
                    <input  onkeyup="return check_number(this);" onchange="return check_number(this);"    maxlength="8"  value="<?php if(isset($maxprice)){  if($maxprice != ''){ echo $maxprice;   }} ?>" size="8" name="maxprice">
                    </td>
                    <td>
                    	
                    <select name="currency">
                        <option <?php if(isset($currency)){  if($currency == '1'){    echo 'selected="selected"';  }} ?> value="1">$</option>
                        <option <?php if(isset($currency)){  if($currency == '2'){    echo 'selected="selected"'; }} ?> value="2">р.</option>
                    </select></td><td><span style="font-size:14px;color:red;text-decoration:blink;">*</span>
                    	
                    </td>
                      <td><select name="price_type">
                                            <option  <?php if(isset($price_type)){  if($price_type == '1'){  echo 'selected="selected"'; }} ?>  value="1">месяц</option>
                                            <option  <?php if(isset($price_type)){  if($price_type == '2'){   echo 'selected="selected"';  }} ?> value="2">в год</option>
                          </select></td>
                                        
                                        
                </tr>
            </tbody>
        </table>
    </fieldset>
</div>
